Administration System
Schema Extension Modification Registry
Schema Extension Modification Registry view
Actions
Create a Schema Snapshot
Model Extension Snapshot form
Administration System
Schema Extension Snapshot Registry
Schema Extension Snapshot Registry view
Model Extension Snapshot form
The Model Extension Snapshot form displays an individual snapshot item (on page 1) for each customized system entity and new custom entity; it also displays document definition language (DDL) expected at the time the snapshot was created.
You use the Model Extension Snapshot form to enable the snapshot you created and to specify whether you want N4 to upgrade on restart. In addition, on the Expected DDL At Time Of Snapshot Creation tab, you can view, change, or export the DDL.
Once a snapshot has been applied to the database, you can no longer modify any of the dynamic flex fields or dynamic entity fields. If you need to make changes, for example to the length of a string-type field, you must first delete the field from the database and then re-apply the snapshot to the database, with the modified field.
To edit a snapshot:
Optionally, in the Snapshot Name field, modify the name of the snapshot.
Select the Enabled check box to have your changes take effect the next time you reload the session factory.
Select the Upgrade on Restart check box if you want N4 to upgrade the schema at the next restart.
Click Save.
To alter or export the DDL:
On the Expected DDL At Time Of Snapshot Creation tab, do one of the following:
Click Edit Contents. In the Expected DLL field, manually edit the code.
Click Import Extension File. In the Import Groovy file form, browse to the .xml file you want to import and click Open.
Click Export File. In the Export Groovy file form, specify the location and name of the .sql file you want to export and click Save.
Click Save.